package neuralModel.activationFunction;

public class PerceptrionActivationFunction implements IActivationFunction
{

	@Override
	public double calculateOutputValue(double inducedLocalField)
	{

		if (inducedLocalField > 0)
			return 1;
		else
			return -1;
	}

	@Override
	public double calculateDerivative(double inducedLocalField)
	{
		return 0;
	}

}
